import Vue from 'vue'
import App from './App'
import './uni.promisify.adaptor'
// 导入插件
import plugins from '@/utils/plugins'

// 导入全局混入对象
import mixins from '@/utils/mixins'

import * as filters from "@/utils/fiters";//封装
Object.keys(filters).map((key) => {
  Vue.filter(key, filters[key]);
});

Vue.config.productionTip = false

App.mpType = 'app'
// 注册插件
Vue.use(plugins)

// 注册全局混入对象
Vue.mixin(mixins)
const app = new Vue({
  ...App
})
app.$mount()
